package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectPageParamDto;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {

    //分页查询
    PageResponse<NursingProjectVo> selectByPage(NursingProjectPageParamDto nursingProjectPageParamDto);

    //新增项目
    void addProject(NursingProjectDto nursingProjectDto);

    //根据ID查询项目
    NursingProjectVo getById(Integer id);
    //更新项目信息
    void updateNursingProject(NursingProjectDto nursingProjectDto);

    //更新项目状态
    void updateStatus(Long id, Integer status);

    //删除项目
    void deleteProjectById(Long id);

    //查询所有项目
    List<NursingProjectVo> getAll();

}
